package com.seelyn.rhea.mvc.security;

import com.seelyn.rhea.mvc.context.Request;
import com.seelyn.rhea.mvc.context.Response;
import com.seelyn.rhea.mvc.route.Filter;

/**
 * @author linfeng
 * @since 2016/1/29
 */
public class SecurityFilter implements Filter {

    private String loginSuccessUrl;
    private String loginFailedUrl;

    public void setLoginSuccessUrl(String loginSuccessUrl) {
        this.loginSuccessUrl = loginSuccessUrl;
    }

    public void setLoginFailedUrl(String loginFailedUrl) {
        this.loginFailedUrl = loginFailedUrl;
    }

    @Override
    public int order() {
        return 0;
    }

    @Override
    public boolean handle(Request request, Response response) {
        return false;
    }
}
